package com.springboot.study.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 郭栋
 * @since 2022-01-06
 */
@Data
@Accessors(chain = true)
public class TUser{

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String password;

    private String name;

    private String phone;

    private Integer age;

    private String nickName;

    private Integer sex;

    private LocalDateTime birthday;

    /**
     * 班级id
     */
    private Integer classId;

    private Integer version;


}
